package com.zscat.mallplus.qsg.impl;


import com.zscat.mallplus.vo.CountDownObj;

import java.util.concurrent.ConcurrentHashMap;

public class ChannelMap {
    /**
     * 管理一个全局map，保存连接进服务端的通道数量
     */
    private static final ConcurrentHashMap<String, CountDownObj> CHANNEL_MAP = new ConcurrentHashMap<>();

    public static ConcurrentHashMap<String, CountDownObj> getChannelMap() {
        return CHANNEL_MAP;
    }

}
